Optimal. Leaf size=254 \[ \frac{4 \cos (c+d x) \left (32 a^2+8 a b \sin (c+d x)-9 b^2\right )}{15 b^4 d \sqrt{a+b \sin (c+d x)}}-\frac{8 a \left (32 a^2-17 b^2\right ) \sqrt{\frac{a+b \sin (c+d x)}{a+b}} F\left (\frac{1}{2} \left (c+d x-\frac{\pi }{2}\right )|\frac{2 b}{a+b}\right )}{15 b^5 d \sqrt{a+b \sin (c+d x)}}+\frac{8 \left (32 a^2-9 b^2\right ) \sqrt{a+b \sin (c+d x)} E\left (\frac{1}{2} \left (c+d x-\frac{\pi }{2}\right )|\frac{2 b}{a+b}\right )}{15 b^5 d \sqrt{\frac{a+b \sin (c+d x)}{a+b}}}+\frac{2 \cos ^3(c+d x) (8 a+3 b \sin (c+d x))}{15 b^2 d (a+b \sin (c+d x))^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.440458, antiderivative size = 254, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.207, Rules used = {2863, 2752, 2663, 2661, 2655, 2653} \[ \frac{4 \cos (c+d x) \left (32 a^2+8 a b \sin (c+d x)-9 b^2\right )}{15 b^4 d \sqrt{a+b \sin (c+d x)}}-\frac{8 a \left (32 a^2-17 b^2\right ) \sqrt{\frac{a+b \sin (c+d x)}{a+b}} F\left (\frac{1}{2} \left (c+d x-\frac{\pi }{2}\right )|\frac{2 b}{a+b}\right )}{15 b^5 d \sqrt{a+b \sin (c+d x)}}+\frac{8 \left (32 a^2-9 b^2\right ) \sqrt{a+b \sin (c+d x)} E\left (\frac{1}{2} \left (c+d x-\frac{\pi }{2}\right )|\frac{2 b}{a+b}\right )}{15 b^5 d \sqrt{\frac{a+b \sin (c+d x)}{a+b}}}+\frac{2 \cos ^3(c+d x) (8 a+3 b \sin (c+d x))}{15 b^2 d (a+b \sin (c+d x))^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2863
Rule 2752
Rule 2663
Rule 2661
Rule 2655
Rule 2653
Rubi steps
\begin{align*} \int \frac{\cos ^4(c+d x) \sin (c+d x)}{(a+b \sin (c+d x))^{5/2}} \, dx &=\frac{2 \cos ^3(c+d x) (8 a+3 b \sin (c+d x))}{15 b^2 d (a+b \sin (c+d x))^{3/2}}-\frac{4 \int \frac{\cos ^2(c+d x) \left (-\frac{3 b}{2}-4 a \sin (c+d x)\right )}{(a+b \sin (c+d x))^{3/2}} \, dx}{5 b^2}\\ &=\frac{2 \cos ^3(c+d x) (8 a+3 b \sin (c+d x))}{15 b^2 d (a+b \sin (c+d x))^{3/2}}+\frac{4 \cos (c+d x) \left (32 a^2-9 b^2+8 a b \sin (c+d x)\right )}{15 b^4 d \sqrt{a+b \sin (c+d x)}}+\frac{16 \int \frac{2 a b+\frac{1}{4} \left (32 a^2-9 b^2\right ) \sin (c+d x)}{\sqrt{a+b \sin (c+d x)}} \, dx}{15 b^4}\\ &=\frac{2 \cos ^3(c+d x) (8 a+3 b \sin (c+d x))}{15 b^2 d (a+b \sin (c+d x))^{3/2}}+\frac{4 \cos (c+d x) \left (32 a^2-9 b^2+8 a b \sin (c+d x)\right )}{15 b^4 d \sqrt{a+b \sin (c+d x)}}-\frac{\left (4 a \left (32 a^2-17 b^2\right )\right ) \int \frac{1}{\sqrt{a+b \sin (c+d x)}} \, dx}{15 b^5}+\frac{\left (4 \left (32 a^2-9 b^2\right )\right ) \int \sqrt{a+b \sin (c+d x)} \, dx}{15 b^5}\\ &=\frac{2 \cos ^3(c+d x) (8 a+3 b \sin (c+d x))}{15 b^2 d (a+b \sin (c+d x))^{3/2}}+\frac{4 \cos (c+d x) \left (32 a^2-9 b^2+8 a b \sin (c+d x)\right )}{15 b^4 d \sqrt{a+b \sin (c+d x)}}+\frac{\left (4 \left (32 a^2-9 b^2\right ) \sqrt{a+b \sin (c+d x)}\right ) \int \sqrt{\frac{a}{a+b}+\frac{b \sin (c+d x)}{a+b}} \, dx}{15 b^5 \sqrt{\frac{a+b \sin (c+d x)}{a+b}}}-\frac{\left (4 a \left (32 a^2-17 b^2\right ) \sqrt{\frac{a+b \sin (c+d x)}{a+b}}\right ) \int \frac{1}{\sqrt{\frac{a}{a+b}+\frac{b \sin (c+d x)}{a+b}}} \, dx}{15 b^5 \sqrt{a+b \sin (c+d x)}}\\ &=\frac{8 \left (32 a^2-9 b^2\right ) E\left (\frac{1}{2} \left (c-\frac{\pi }{2}+d x\right )|\frac{2 b}{a+b}\right ) \sqrt{a+b \sin (c+d x)}}{15 b^5 d \sqrt{\frac{a+b \sin (c+d x)}{a+b}}}-\frac{8 a \left (32 a^2-17 b^2\right ) F\left (\frac{1}{2} \left (c-\frac{\pi }{2}+d x\right )|\frac{2 b}{a+b}\right ) \sqrt{\frac{a+b \sin (c+d x)}{a+b}}}{15 b^5 d \sqrt{a+b \sin (c+d x)}}+\frac{2 \cos ^3(c+d x) (8 a+3 b \sin (c+d x))}{15 b^2 d (a+b \sin (c+d x))^{3/2}}+\frac{4 \cos (c+d x) \left (32 a^2-9 b^2+8 a b \sin (c+d x)\right )}{15 b^4 d \sqrt{a+b \sin (c+d x)}}\\ \end{align*}
Mathematica [A] time = 5.8889, size = 211, normalized size = 0.83 \[ \frac{2 b \cos (c+d x) \left (b \left (320 a^2-69 b^2\right ) \sin (c+d x)+256 a^3-16 a b^2 \cos (2 (c+d x))-24 a b^2+3 b^3 \sin (3 (c+d x))\right )+32 a \left (32 a^2-17 b^2\right ) (a+b) \left (\frac{a+b \sin (c+d x)}{a+b}\right )^{3/2} F\left (\frac{1}{4} (-2 c-2 d x+\pi )|\frac{2 b}{a+b}\right )-32 \left (32 a^2-9 b^2\right ) (a+b)^2 \left (\frac{a+b \sin (c+d x)}{a+b}\right )^{3/2} E\left (\frac{1}{4} (-2 c-2 d x+\pi )|\frac{2 b}{a+b}\right )}{60 b^5 d (a+b \sin (c+d x))^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 1.565, size = 1430, normalized size = 5.6 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cos \left (d x + c\right )^{4} \sin \left (d x + c\right )}{{\left (b \sin \left (d x + c\right ) + a\right )}^{\frac{5}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{\sqrt{b \sin \left (d x + c\right ) + a} \cos \left (d x + c\right )^{4} \sin \left (d x + c\right )}{3 \, a b^{2} \cos \left (d x + c\right )^{2} - a^{3} - 3 \, a b^{2} +{\left (b^{3} \cos \left (d x + c\right )^{2} - 3 \, a^{2} b - b^{3}\right )} \sin \left (d x + c\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cos \left (d x + c\right )^{4} \sin \left (d x + c\right )}{{\left (b \sin \left (d x + c\right ) + a\right )}^{\frac{5}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]